<?php include COMMON_PATH.'/index/header.html' ?>
<!--充值记录-->
<div class="pt-wrap main-content pr-wrap clearfix">
    <!--引入左侧导航-->
    <?php include COMMON_PATH.'/index/left.html' ?>
    <div class="fl right-box">
        <div class="title">
            <b>充值记录</b>
        </div>
        <div class="pr-record-wrap">

            <?php foreach($record['lists'] as $v):?>
            <div class="item">
                <div class="title"><?=$v['lasttime']?>   <?php if($v['status'] == 1):?>（生成订单）<?php elseif($v['status'] == 5):?>（支付成功）<?php else:?>（支付失败）<?php endif;?></div>
                <ul class="pr-record-list">
                    <li class="clearfix">
                        <span class="justify">订单号</span>：<b><?=$v['number']?></b>
                    </li>
                    <li class="clearfix">
                        <span class="justify">充值金额</span>：<b><?=$v['money']?>元</b>
                    </li>
                    <li class="clearfix">
                        <span class="justify">付款方式</span>：<b><?php if($v['type'] == 1):?>微信<?php elseif($v['type'] == 2):?>支付宝<?php else:?>未知支付方式<?php endif;?></b>
                    </li>
                    <li class="clearfix">
                        <span class="justify">商品名称</span>：<b><?=$v['name']?></b>
                    </li>
                </ul>
            </div>
            <?php endforeach;?>
        </div>

        <div data-page-total="<?=$record['count']?>" data-page-per="<?=PAGE_NUMBER?>"  id="live-page-wrap"></div>
    </div>
</div>

<?php include COMMON_PATH.'/index/footer.html' ?>
<script>
    navActive(7);
    portalNavActive(3);
    var url_pic = '<?=$imgPath?>';

</script>
</html>